package com.liu.design.structure.decorate;

/**
 * @author LIU
 * @version 1.0
 * @date 2024/5/6 17:59
 * @description TODO
 */
public abstract class Drink {
    private String des;
    private Float price;

    // 计算费用的抽象方法
    public abstract Float cost();


    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
